// vite.config.js
import { defineConfig } from "file:///C:/Users/Administrator/Desktop/%E9%A1%B9%E7%9B%AE%E6%80%BB%E6%96%87%E4%BB%B6%E5%A4%B9/%E8%BF%9B%E9%94%80%E5%AD%98%E7%AE%A1%E7%90%86/node_modules/vite/dist/node/index.js";
import vue from "file:///C:/Users/Administrator/Desktop/%E9%A1%B9%E7%9B%AE%E6%80%BB%E6%96%87%E4%BB%B6%E5%A4%B9/%E8%BF%9B%E9%94%80%E5%AD%98%E7%AE%A1%E7%90%86/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import Components from "file:///C:/Users/Administrator/Desktop/%E9%A1%B9%E7%9B%AE%E6%80%BB%E6%96%87%E4%BB%B6%E5%A4%B9/%E8%BF%9B%E9%94%80%E5%AD%98%E7%AE%A1%E7%90%86/node_modules/unplugin-vue-components/dist/vite.js";
import AutoImport from "file:///C:/Users/Administrator/Desktop/%E9%A1%B9%E7%9B%AE%E6%80%BB%E6%96%87%E4%BB%B6%E5%A4%B9/%E8%BF%9B%E9%94%80%E5%AD%98%E7%AE%A1%E7%90%86/node_modules/unplugin-auto-import/dist/vite.js";
import path from "path";
var __vite_injected_original_dirname = "C:\\Users\\Administrator\\Desktop\\\u9879\u76EE\u603B\u6587\u4EF6\u5939\\\u8FDB\u9500\u5B58\u7BA1\u7406";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    Components(),
    AutoImport({
      imports: ["vue", "vue-router"],
      // 自动导入 Vue 和 Vue Router 的函数
      dts: "./src/auto-imports.d.ts"
      // 生成对应的 .d.ts 文件
    })
  ],
  server: {
    port: 3e3,
    // 跨域代理
    proxy: {
      "/admin": {
        target: "http://192.168.0.23",
        changeOrigin: true,
        rewrite: (path2) => {
          return path2;
        }
      }
    }
  },
  resolve: {
    alias: {
      "@": path.resolve(__vite_injected_original_dirname, "src"),
      "@api": path.resolve(__vite_injected_original_dirname, "src/api")
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJ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